package com.pan.config;

import com.pan.service.AnimalService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfigOne {

    @Bean
    public AnimalService animalService(){
        return new AnimalService();
    }
}
